
require "framework/BaseModel"

MyModel = BaseModel:New( {mCountCircle = 0, mModelName="MyModel"} );

function MyModel:GetCount()
    return self.mCountCircle;
end

function MyModel:AddCircle()
    self.mCountCircle = self.mCountCircle + 1;

    self:DispatchEvent("CircleCountChangeEvent");
end